package net.wanho.shop.mapper;

import net.wanho.shop.po.OrderGoods;
import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 商品-订单关联表 Mapper 接口
 * </p>
 *
 * @author 猛虎王
 * @since 2024-12-24
 */

@Mapper
public interface OrderGoodsMapper {

    List<OrderGoods> select(OrderGoods orderGoods);

    OrderGoods selectById(Serializable id);

    void insert(OrderGoods orderGoods);

    void update(OrderGoods orderGoods);

    void deleteById(Serializable id);

    void deleteByIds(String[] split);

}
